﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace KinConquer.Entities
{
    public interface IMapObject
    {
        UInt32 Identifier { get; }
        UInt32 Map { get; }
        UInt32 DMap { get; }
        UInt16 X  { get; }
        UInt16 Y { get; }
        ObjectType ObjectType { get; }
        Rect Bounds { get; }
        event EventHandler BoundsChanged;
    }

    [Flags]
    public enum ObjectType
    {
        Hero = 0x1,
        Mob = 0x2,
        Npc = 0x4,
        Sob = 0x8,

        Guard = 0x10 | Mob,
        GuildGate = 0x20 | Sob,
        GuildPole = 0x40 | Sob,

        Entity = 0x100,
    }
}
